package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.sql.Blob;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 黑名单用户表
 * </p>
 *
 * @author ct
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CrmBlacklistUser对象", description = "黑名单用户表")
public class CrmBlacklistUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "黑名单列表用户id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "黑名单列表用户姓名")
    @TableField("username")
    private String username;

    @ApiModelProperty(value = "性别")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "公司名称")
    @TableField("conpany")
    private String conpany;

    @ApiModelProperty(value = "用户人脸特征图片URL")
    @TableField("user_face_url")
    private String userFaceUrl;

    @ApiModelProperty(value = "用户人脸特征值")
    @TableField("certificate_eigen")
    private byte[] certificateEigen;

    @ApiModelProperty(value = "危险等级 1: 一级  2:二级 3： 三级")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "联系方式")
    @TableField("tel")
    private String tel;

    @ApiModelProperty(value = "用户描述")
    @TableField("user_desc")
    private String userDesc;

    @ApiModelProperty(value = "黑名单列表分类")
    @TableField("type")
    private Long type;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;


}
